﻿using System;
using System.Collections.Generic;
using UnityEngine;

[Serializable]
public class UserInfoAttribute : Attribute
{
    private int _level;
    private string _userName;

    public int Level
    {
        get { return _level; }
        set
        {
            if (_level == value)
            {
                return;
            }
            _level = value;
        }
    }

    public string UserName
    {
        get { return _userName; }
        set
        {
            if (_userName == value)
            {
                return;
            }
            _userName = value;
        }
    }
}